package com.hedl.practice.diyJava.multithreading.daemon_thread.tmp;

public class DaemonThread extends Thread{
    @Override
    public void run(){
        for (;;){
            System.out.println("Thread-1: running...");
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }
}
